package com.zmy.xcx.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.lang.Nullable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("hyperglycemia_medication")
public class HyperglycemiaMedicationDO {

    /**
     * 自增主键id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 药品名称
     */
    @TableField("drug_name")
    private String drugName;

    /**
     * 药品类型
     */
    private String type;

    /**
     * 是否为处方药,1为是,0为否,双跨视为是
     */
    @TableField("is_Rx")
    private Integer isRx;

    /**
     * 药品来源
     */
    private String source;

    /**
     * 点击量
     */
    @TableField("page_view")
    private Long pageView;

    /**
     * 统一资源标识符
     */
    @Nullable
    private String uri;
}
